package com.gsit.omega.ea.services;

import java.util.List;

import javax.persistence.TypedQuery;

import com.gsit.omega.ea.domain.Activity;
import com.gsit.omega.ea.domain.Task;
import com.gsit.omega.ea.utils.ActivityStatus;
import com.gsit.omega.ea.utils.TaskStatus;


public class TaskServiceImpl implements TaskService {
	
	public List<Task> findAllTasksByTaskStatus(TaskStatus taskStatus ){
		TypedQuery<Task> query =   Task.findTasksByStatus(taskStatus);
		return query.getResultList();
	}
	

}
